#!/usr/bin/env python3

import requests

class Work:
    def __init__(self,name):
        self.name = name 
        self.Home = "https://gitee.com/api"
        self.Extension = "/v5/user/repos"
        self.access_token = "654b2651628d043968a88feb067d3756"
        self.Data = {
                "access_token":self.access_token,
                "name":self.name,
                "has_issues":"true",
                "has_wiki":"true",
                "auto_init":"true",
                "private":"false"
        }
    def POST(self): 
        Response = requests.post(self.Home+self.Extension,data = self.Data)
        print(Response.status_code)
        print(Response.text)

A = Work("Vultr_bot")
A.POST()
